package com.woniu.cms.settlement.core.service.impl;

import com.woniu.cms.settlement.core.entity.SettlementWork;
import com.woniu.cms.settlement.core.mapper.SettlementWorkMapper;
import com.woniu.cms.settlement.core.service.ISettlementWorkService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 工日 服务实现类
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-20
 */
@Service
public class SettlementWorkServiceImpl extends ServiceImpl<SettlementWorkMapper, SettlementWork> implements ISettlementWorkService {
    @Autowired
    private SettlementWorkMapper settlementWorkMapper;
    //成本下达
    @Override
    public Integer order(Integer id) {
        Integer order = settlementWorkMapper.order(id);

        return order;
    }
}
